Document Solutions for PDF
DS.Documents.Pdf Assembly / GrapeCity.Documents.Pdf Namespace / Page Class / DrawAnnotations Method / DrawAnnotations(GcGraphics,RectangleF,IList<AnnotationBase>,RenderingCache,Boolean) Method
The GrapeCity.Documents.Drawing.GcGraphics on which to draw the annotations.
The draw bounds.
The list of annotations to draw.
The RenderingCache object used to cache objects created during rendering.
Indicates whether to ignore errors in PDF content stream during rendering.

In This Topic
    DrawAnnotations(GcGraphics,RectangleF,IList<AnnotationBase>,RenderingCache,Boolean) Method
    In This Topic
    Draws specified annotations on a GrapeCity.Documents.Drawing.GcGraphics.

    Note that the specified annotations must belong to the current page.

    Syntax
    'Declaration
     
    Public Overloads Sub DrawAnnotations( _
       ByVal graphics As GcGraphics, _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal annotations As System.Collections.Generic.IList(Of AnnotationBase), _
       Optional ByVal renderingCache As RenderingCache, _
       Optional ByVal ignoreErrors As System.Boolean _
    ) 
    public void DrawAnnotations( 
       GcGraphics graphics,
       System.Drawing.RectangleF bounds,
       System.Collections.Generic.IList<AnnotationBase> annotations,
       RenderingCache renderingCache,
       System.bool ignoreErrors
    )

    Parameters

    graphics
    The GrapeCity.Documents.Drawing.GcGraphics on which to draw the annotations.
    bounds
    The draw bounds.
    annotations
    The list of annotations to draw.
    renderingCache
    The RenderingCache object used to cache objects created during rendering.
    ignoreErrors
    Indicates whether to ignore errors in PDF content stream during rendering.
    See Also